package com.itheima.service.store;

import com.github.pagehelper.Page;
import com.itheima.domain.store.Company;

import java.util.List;

public interface CompanyService {

    //获取所有企业
    Page<Company> findAll(String pageNum, String pageSize);
    List<Company> findAll();

    void addCompany(Company company);

    //删除
    boolean deleteByIds(String ids);


    Company findById(String id);

    void updateCompany(Company company);
}
